package com.item.yxlottery.yxlottery.bean;

/*
 *------------------------------
 * @创建者      Administrator
 * @创建时间    2017/1/5 09:44
 * @文件描述    彩店评论bean
 *------------------------------
 */

import android.os.Parcel;
import android.os.Parcelable;

public class StoreCommentBean implements Parcelable {
    private String iconUrl;
    private String name;
    private String star;
    private String time;
    private String comment;

    public StoreCommentBean(String iconUrl, String name, String star, String time, String comment) {
        this.iconUrl = iconUrl;
        this.name = name;
        this.star = star;
        this.time = time;
        this.comment = comment;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.iconUrl);
        dest.writeString(this.name);
        dest.writeString(this.star);
        dest.writeString(this.time);
        dest.writeString(this.comment);
    }

    protected StoreCommentBean(Parcel in) {
        this.iconUrl = in.readString();
        this.name = in.readString();
        this.star = in.readString();
        this.time = in.readString();
        this.comment = in.readString();
    }

    public static final Parcelable.Creator<StoreCommentBean> CREATOR = new Parcelable.Creator<StoreCommentBean>() {
        @Override
        public StoreCommentBean createFromParcel(Parcel source) {
            return new StoreCommentBean(source);
        }

        @Override
        public StoreCommentBean[] newArray(int size) {
            return new StoreCommentBean[size];
        }
    };
}
